var dataDomain = "http://www.sbdoc.cn:8090/mock/59c35fd1f62d3824e682e32c";
dataDomain = "http://192.168.2.165:8080";
//dataDomain = "http://ade2017.iask.in:8989";
var myurl = document.URL;
//如果是登录页
if(myurl.indexOf("login.html") == -1) {
	$.get(dataDomain + "/common/adminuser/islogin", function(req) {
		//没有登录，调整到登录页去
		if(req.status != 'ok') {
			mui.openWindow({
				"url": "login.html",
				"id": "login"
			})
		}
	});
}